package com.service;


import com.mapper.ProductionOrderMapper;
import com.pojo.Hua.HuaBeginOrder;
import com.pojo.Hua.HuaProductionOrder;
import com.pojo.sales.ProductOrder;
import com.service.iter.IProductionOrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * 生产指令服务impl
 *
 * @author admin
 * @date 2023/06/20
 */
@Service
@Transactional

public class ProductionOrderServiceImpl implements IProductionOrderService {

    /**
     * 生产订单映射器
     */
    @Autowired
    private ProductionOrderMapper productionOrderMapper;

    @Override
    public List<ProductOrder> QueryAll() {
        return null;
    }

    /**
     * 查询所有
     *
     * @return {@link List}<{@link HuaProductionOrder}>
     */
    @Override
    public List<HuaBeginOrder> queryAll() {
        return productionOrderMapper.queryAll();
    }
}
